const express = require('express')
const router = express.Router()
const { validateUserList } = require('./validators/validateUserList')
const { validateSendMailToUser } = require("./validators/validateSendMailToUser");
const { userList, sendMailToUser } = require('../../controllers/user')

router.post('/list', validateUserList, userList)
router.post('/sendMailToUser', validateSendMailToUser, sendMailToUser)
module.exports = router